package service.impl;

import bean.RecordBean;
import dao.IRecordDAO;
import dao.impl.RecordDAOImpl;
import service.IRecordService;

import java.util.List;

public class RecordService implements IRecordService {
    private IRecordDAO dao = new RecordDAOImpl();

    @Override
    public List<RecordBean> getRecordsByUserId(int userId) {
        return dao.getRecordsByUserId(userId);
    }
}
